home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
2_10.lha
/
2_10
/
2_10a.c
next >
Wrap
Text File
|
1993-08-08
|
324b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
onst one = 1;
nt *p1 = &one;
include <memory.h>
oid chconst()
one = 2;
*p1 = 2;
int *p2 = (int *) &one;
int memint = 2;
memcpy((void*)&one, &memint, sizeof (int));